package com.framework.service.yhbservice;

import com.baomidou.mybatisplus.service.IService;
import com.framework.yhbEntity.user.YhbCusTer;

import java.util.Map;

public interface YhbCusTerService extends IService<YhbCusTer> {
    Map<String,Object> queryInfoBySn(String sn);

    YhbCusTer queryInfoByPhone(String phone, Long deptId);

    YhbCusTer applyCusTerminal(String username, String phone, String sn);

    YhbCusTer queryOneBySnAndPhone(String phone, String sn);

    YhbCusTer queryOneBySn(String sn);

    YhbCusTer updateCusTerminal(String username, String phone, String sn, String yhbCusTerId, Integer terminalType);

    void applyBaiYiTerminal(String token, String sn);

    void cancelTerminal(String sn);
}
